package indi.readbook.example.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

/**
 * @author Administrator
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("indi.readbook.example.admin.dao")
@ComponentScan(basePackages = "indi.readbook.example")
@EnableFeignClients(basePackages = {"indi.readbook.example"})
public class BusinessApplication {
	public static void main(String[] args) {
		SpringApplication.run(BusinessApplication.class);
	}
}
